#include <stdio.h>
#include <stdlib.h>

int main(int argc, char const *argv[])
{
    printf("请输入三角形三边长度\n");
    int a;
    int b;
    int c;
    scanf("%d%d%d", &a, &b, &c);
    if ((a + b) <= c || (a + c) <= b || (b + c) <= a)
    {
        printf("输入三角形三边长度错误，不能构成三角形\n");
        return EXIT_FAILURE;
    }

    if (a == b && b == c)
    {
        printf("等边三角形,等边三角形边长为 %d\n", a);
        return EXIT_FAILURE;
    }

    if (a == b || a == c || b == c)
    {
        printf("此三角形为等腰三角形\n");
        return EXIT_FAILURE;
    }

    printf("普通三角形,三边长为 %d , %d, %d\n", a, b, c);

    return 0;
}
